<template>
  <view>
    详情
  </view>
</template>

<script>
  export default {
    data() {
      return {
        id: 0
      }
    },
    methods: {
      async getData() {
        const resp = await uniCloud.callFunction({
          name: 'getMyListByID',
          data: {
            id: this.id,
          }
        })
        console.log(resp)
      }
    },
    onLoad({
      id
    }) {
      this.id = id;

      this.getData()
    }
  }
</script>

<style>

</style>
